<?php


/**
 * Skeleton subclass for performing query and update operations on the 'positie' table.
 *
 * 
 *
 * You should add additional methods to this class to meet the
 * application requirements.  This class will only be generated as
 * long as it does not already exist in the output directory.
 *
 * @package    propel.generator.database
 */
class PositiePeer extends BasePositiePeer {
    
    public static function getPositieByNaam($naam)
    {
        $c = new Criteria();
        $c->add(self::NAAM,$naam);
        return self::doSelectOne($c);
    }
    
    public static function getAllPosities()
    {
        $c = new criteria();
        $c->addAscendingOrderByColumn(self::NAAM);
        return self::doSelect($c);
    }

} // PositiePeer
